<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Welcome extends CI_Controller {
    /**
     * User constructor.
     * 构造函数，导入url辅助类
     */
    public function __construct(){
        parent::__construct();
        $this->load->helper('url_helper');
    }

    /**
     * 加载主页
     */
	public function index() {
		$this->load->view('index');
	}

	public function main(){
        $this->load->view('main');
    }
}
